<template>
	<uni-easyinput v-model="props.modelValue" type="textarea" autoHeight :inputBorder="false" :clearable="true" :maxlength="data.maxlength" :placeholder="data.placeholder" @input="input" />
</template>

<script setup lang="ts">
// import { watch, ref } from 'vue'

const props = defineProps({
	//表单组件参数
	data: {
		type: Object,
		required: true
	},
	modelValue: {}
})
//修改双向绑定值
const emit = defineEmits(['update:modelValue'])
const input = (e: any) => {
	emit('update:modelValue', e)
}
</script>
